<?php

return [
  [
    'code' => 'basic',
    'parent_code' => NULL,
    'name' => '基础配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login',
    'parent_code' => 'basic',
    'name' => '登录设置',
    'description' => '登录设置组',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.bg',
    'parent_code' => 'basic.login',
    'name' => '登录背景',
    'description' => '登录背景图',
    'type' => 'string',
    'value' => '/static/img/admin/login_bg.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha',
    'parent_code' => 'basic.login',
    'name' => '登录验证码',
    'description' => '登录验证码',
    'type' => 'radio',
    'value' => 'none',
    'store_range' => [
      [
        'name' => '关闭验证码',
        'value' => 'none',
      ],
      [
        'name' => '图片验证码',
        'value' => 'code',
      ],
      [
        'name' => '极验验证码',
        'value' => 'geetest',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_code',
    'parent_code' => 'basic.login',
    'name' => '验证码配置',
    'description' => '验证码配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_code.math',
    'parent_code' => 'basic.login.captcha_code',
    'name' => '算数验证码',
    'description' => '是否算数验证码',
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest',
    'parent_code' => 'basic.login',
    'name' => '极验验证码配置',
    'description' => '极验验证码配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest.captcha_id',
    'parent_code' => 'basic.login.captcha_geetest',
    'name' => '极验CaptchaId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.login.captcha_geetest.private_key',
    'parent_code' => 'basic.login.captcha_geetest',
    'name' => '极验CaptchaKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail',
    'parent_code' => 'basic',
    'name' => '邮件配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.code_template',
    'parent_code' => 'basic.mail',
    'name' => '邮件验证码模板',
    'description' => '邮件验证码模板，请在模板中插入{$code}',
    'type' => 'string',
    'value' => '您的邮箱验证码为：{$code}，5分钟有效',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.from',
    'parent_code' => 'basic.mail',
    'name' => '发件人邮箱',
    'description' => '发件人邮箱',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.from_name',
    'parent_code' => 'basic.mail',
    'name' => '发件人姓名',
    'description' => '发件人姓名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_host',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务器',
    'description' => '邮件服务器地址',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_pass',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务密码',
    'description' => '邮件服务密码',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_port',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务器端口',
    'description' => '邮件服务器的端口',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.smtp_user',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务用户名',
    'description' => '邮件服务用户名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.mail.verify_type',
    'parent_code' => 'basic.mail',
    'name' => '邮件服务验证方式',
    'description' => '邮件服务验证方式',
    'type' => 'string',
    'value' => '',
    'store_range' => [
      [
        'name' => '无',
        'value' => '',
      ],
      [
        'name' => 'SSL',
        'value' => 'ssl',
      ],
      [
        'name' => 'TLS',
        'value' => 'tls',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site',
    'parent_code' => 'basic',
    'name' => '网站配置',
    'description' => '网站设置组',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.beian',
    'parent_code' => 'basic.site',
    'name' => '备案号',
    'description' => '网站备案号',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.beian_url',
    'parent_code' => 'basic.site',
    'name' => '工信部网址',
    'description' => '工信部网址',
    'type' => 'string',
    'value' => 'https://beian.miit.gov.cn/',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.cdnurl',
    'parent_code' => 'basic.site',
    'name' => '全站 cdn 地址',
    'description' => '全站 cdn 地址',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.copyright',
    'parent_code' => 'basic.site',
    'name' => '版权信息',
    'description' => '版权信息',
    'type' => 'string',
    'value' => '星品科技',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.copytime',
    'parent_code' => 'basic.site',
    'name' => '版权时间',
    'description' => '版权时间',
    'type' => 'string',
    'value' => '2015-2022',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.logo',
    'parent_code' => 'basic.site',
    'name' => '网站logo',
    'description' => NULL,
    'type' => 'file',
    'value' => '/static/img/logo.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.name',
    'parent_code' => 'basic.site',
    'name' => '网站名称',
    'description' => NULL,
    'type' => 'string',
    'value' => 'SheepJS',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.sign',
    'parent_code' => 'basic.site',
    'name' => '自定义签名',
    'description' => '请设置英文字符串',
    'type' => 'string',
    'value' => 'sheepadmin',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.site.version',
    'parent_code' => 'basic.site',
    'name' => '版本号',
    'description' => '版本号',
    'type' => 'string',
    'value' => '1.0.0',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user',
    'parent_code' => 'basic',
    'name' => '用户配置',
    'description' => '用户默认值配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user.avatar',
    'parent_code' => 'basic.user',
    'name' => '默认头像',
    'description' => '用户默认头像',
    'type' => 'string',
    'value' => '/static/img/default_avatar.png',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'basic.user.nickname',
    'parent_code' => 'basic.user',
    'name' => '默认昵称',
    'description' => '用户默认昵称',
    'type' => 'string',
    'value' => '用户',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat',
    'parent_code' => NULL,
    'name' => '客服配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application',
    'parent_code' => 'chat',
    'name' => '客服应用设置',
    'description' => '客服应用设置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application.shop',
    'parent_code' => 'chat.application',
    'name' => '商城客服',
    'description' => '商城客服配置',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.application.shop.room_id',
    'parent_code' => 'chat.application.shop',
    'name' => '客服连接类型',
    'description' => '官网客服连接类型',
    'type' => 'string',
    'value' => 'admin',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic',
    'parent_code' => 'chat',
    'name' => '基础配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.allocate',
    'parent_code' => 'chat.basic',
    'name' => '分配客服方式',
    'description' => NULL,
    'type' => 'string',
    'value' => 'busy',
    'store_range' => [
      [
        'name' => '忙碌程度',
        'value' => 'busy',
      ],
      [
        'name' => '轮流',
        'value' => 'turns',
      ],
      [
        'name' => '随机',
        'value' => 'random',
      ],
    ],
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.auto_customer_service',
    'parent_code' => 'chat.basic',
    'name' => '自动分配客服',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.basic.last_customer_service',
    'parent_code' => 'chat.basic',
    'name' => '默认上次客服',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 1,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system',
    'parent_code' => 'chat',
    'name' => '系统配置',
    'description' => '请谨慎修改',
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.inside_host',
    'parent_code' => 'chat.system',
    'name' => '内部通讯地址',
    'description' => '无特殊需求不要改',
    'type' => 'string',
    'value' => '127.0.0.1',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.inside_port',
    'parent_code' => 'chat.system',
    'name' => '内部通讯端口',
    'description' => '对内提供服务',
    'type' => 'string',
    'value' => '9191',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.port',
    'parent_code' => 'chat.system',
    'name' => '端口(需要放行)',
    'description' => '对外服务端口',
    'type' => 'string',
    'value' => '2121',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl',
    'parent_code' => 'chat.system',
    'name' => '证书模式',
    'description' => NULL,
    'type' => 'string',
    'value' => 'reverse_proxy',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl_cert',
    'parent_code' => 'chat.system',
    'name' => 'ssl 证书',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'chat.system.ssl_key',
    'parent_code' => 'chat.system',
    'name' => 'ssl key',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms',
    'parent_code' => NULL,
    'name' => '短信配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways',
    'parent_code' => 'easysms',
    'name' => '网关配置',
    'description' => NULL,
    'type' => 'string',
    'value' => 'aliyun',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun',
    'parent_code' => 'easysms',
    'name' => '阿里云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.access_key_id',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云AccessId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.access_key_secret',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云AccessSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.sign_name',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_aliyun.template',
    'parent_code' => 'easysms.gateways_aliyun',
    'name' => '阿里云短信模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei',
    'parent_code' => 'easysms',
    'name' => '华为云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.app_key',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云AppKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.app_secret',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云AppSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.endpoint',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云Endpoint',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.sign_name',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_huawei.template',
    'parent_code' => 'easysms.gateways_huawei',
    'name' => '华为云模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud',
    'parent_code' => 'easysms',
    'name' => '腾讯云',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.app_key',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云AppKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.sdk_app_id',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云SdkAppId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.secret_id',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云SecretId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.secret_key',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云SecretKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.sign_name',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_qcloud.template',
    'parent_code' => 'easysms.gateways_qcloud',
    'name' => '腾讯云短信模板',
    'description' => NULL,
    'type' => 'array',
    'value' => [
      ['event' => 'smsLogin',       'value' => 'SMS_131111111'],
      ['event' => 'smsRegister',    'value' => 'SMS_131111111'],
      ['event' => 'resetPassword',  'value' => 'SMS_131111111'],
      ['event' => 'changeMobile',   'value' => 'SMS_131111111'],
    ],
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao',
    'parent_code' => 'easysms',
    'name' => '短信宝',
    'description' => NULL,
    'type' => 'group',
    'value' => '',
    'store_range' => NULL,
    'rule' => '',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.password',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝密码',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.sign_name',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝短信签名',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'easysms.gateways_smsbao.user',
    'parent_code' => 'easysms.gateways_smsbao',
    'name' => '短信宝账号',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem',
    'parent_code' => NULL,
    'name' => '上传配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks',
    'parent_code' => 'filesystem',
    'name' => '存储配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.access_id',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云AccessId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.access_secret',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云AccessSecret',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.bucket',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云Bucket',
    'description' => '阿里云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.endpoint',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云Endpoint',
    'description' => '阿里云Endpoint',
    'type' => 'string',
    'value' => 'oss-cn-beijing.aliyuncs.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.aliyun.url',
    'parent_code' => 'filesystem.disks.aliyun',
    'name' => '阿里云文件域名',
    'description' => '阿里云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.oss-cn-beijing.aliyuncs.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.public',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.public.url',
    'parent_code' => 'filesystem.disks.public',
    'name' => '本地文件域名',
    'description' => '本地文件域名',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.app_id',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云Appid',
    'description' => '腾讯云Appid',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.bucket',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云Bucket',
    'description' => '腾讯云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.region',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云所属地域',
    'description' => '腾讯云所属地域',
    'type' => 'string',
    'value' => 'ap-beijing',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.secret_id',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云SecretId',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.secret_key',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云SecretKey',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qcloud.url',
    'parent_code' => 'filesystem.disks.qcloud',
    'name' => '腾讯云文件域名',
    'description' => '腾讯云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.cos.ap-beijing.myqcloud.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu',
    'parent_code' => 'filesystem.disks',
    'name' => '',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.access_key',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云AccessKey',
    'description' => '七牛云AccessKey',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.bucket',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云Bucket',
    'description' => '七牛云Bucket',
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.secret_key',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云SecretKey',
    'description' => '七牛云SecretKey',
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.disks.qiniu.url',
    'parent_code' => 'filesystem.disks.qiniu',
    'name' => '七牛云文件域名',
    'description' => '七牛云文件域名',
    'type' => 'string',
    'value' => 'https://sheepjs.hb-bkt.clouddn.com',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.driver',
    'parent_code' => 'filesystem',
    'name' => '存储引擎',
    'description' => NULL,
    'type' => 'radio',
    'value' => 'public',
    'store_range' => [
      [
        'name' => '本地存储',
        'value' => 'public',
      ],
      [
        'name' => '阿里云oss',
        'value' => 'aliyun',
      ],
      [
        'name' => '腾讯云',
        'value' => 'qcloud',
      ],
      [
        'name' => '七牛云',
        'value' => 'qiniu',
      ],
    ],
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.extensions',
    'parent_code' => 'filesystem',
    'name' => '允许后缀',
    'description' => NULL,
    'type' => 'string',
    'value' => 'jpg,png,bmp,jpeg,gif,zip,rar,xls,xlsx,wav,mp4,mp3,pdf,tar,gz,xz,pem,crt',
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.filesize',
    'parent_code' => 'filesystem',
    'name' => '文件限制',
    'description' => NULL,
    'type' => 'int',
    'value' => 50,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'filesystem.imagesize',
    'parent_code' => 'filesystem',
    'name' => '图片限制',
    'description' => NULL,
    'type' => 'int',
    'value' => 10,
    'store_range' => NULL,
    'rule' => 'required',
    'weigh' => 50,
  ],
  [
    'code' => 'wechat',
    'parent_code' => NULL,
    'name' => '微信配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount',
    'parent_code' => 'wechat',
    'name' => '微信公众号配置',
    'description' => NULL,
    'type' => 'group',
    'value' => NULL,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.aes_key',
    'parent_code' => 'wechat.officialAccount',
    'name' => '消息加解密秘钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.app_id',
    'parent_code' => 'wechat.officialAccount',
    'name' => '开发者ID',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.logo',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号头像',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.name',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号名称',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.qrcode',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号二维码',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.secret',
    'parent_code' => 'wechat.officialAccount',
    'name' => '开发者秘钥',
    'description' => NULL,
    'type' => 'string',
    'value' => '',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.status',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号对接状态',
    'description' => NULL,
    'type' => 'boolean',
    'value' => 0,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.token',
    'parent_code' => 'wechat.officialAccount',
    'name' => '令牌Token',
    'description' => NULL,
    'type' => 'string',
    'value' => 'sheepjs',
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
  [
    'code' => 'wechat.officialAccount.type',
    'parent_code' => 'wechat.officialAccount',
    'name' => '公众号类型',
    'description' => NULL,
    'type' => 'int',
    'value' => 4,
    'store_range' => NULL,
    'rule' => NULL,
    'weigh' => 50,
  ],
];
